#!/bin/bash

BASE=$(pwd)

for curDir in $(dir ruoyi);do
  cp $BASE/make_docker_image.sh $BASE/ruoyi/$curDir/make_docker_image.sh
  cd $BASE/ruoyi/$curDir
  chmod a+x make_docker_image.sh
  ./make_docker_image.sh $curDir "$BASE"
  cd $BASE
done